<template>
  <div class="comment">
    <h2>评论</h2>
    <div class="com-txt">
      <el-input
        type="textarea"
        :rows="2"
        placeholder="请输入内容"
        v-model="textarea"
        style="min-height: 180px !important"
      >
      </el-input>
    </div>
  </div>
</template>

<script>
  export default {
    name: 'Comment',
    data() {
      return {
        textarea: '',
      };
    },
  };
</script>

<style lang="less" scoped>
  .comment {
    width: 100%;
    h2 {
      width: 100%;
      height: 60px;
      text-align: center;
      line-height: 60px;
      color: #606266;
      cursor: pointer;
    }
    .com-txt {
      height: 180px;
      /*   .el-txt {
        width: 100%;
        height: 100%;
        padding: 10px;
        margin-bottom: 10px;
      } */
    }
  }
</style>
